// 导入vue和vuex
import Vue from 'vue'
import Vuex from 'vuex'

import modulesCart from './cart'
import modulesUser from './user'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    m_cart: modulesCart,
    m_user: modulesUser
  }
})

export default store
